package com.ruoyi.mstore.service;

import com.ruoyi.mstore.domain.Activity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author mder
* @description 针对表【activity(活动表)】的数据库操作Service
* @createDate 2025-03-19 19:10:28
*/
public interface ActivityService extends IService<Activity> {
    List<Activity> getByActivity(Activity activity);
    /**
     * 新增活动
     */
    boolean addActivity(Activity activity);

    /**
     * 修改活动
     */
    boolean updateActivity(Activity activity);

    /**
     * 删除活动
     */
    boolean deleteActivity(Long activityId);

}
